﻿<UserControl x:Class="Project.PrintComplaintPart2"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="1122" d:DesignWidth="793" xmlns:my="clr-namespace:CustomControls;assembly=CustomControls">
    <UserControl.Resources>
        <DataTemplate x:Key="EvidenceItemsTemplate">
            <Border Width="620" Height="30" BorderBrush="Black" BorderThickness="0,0,0,1">
                <StackPanel Orientation="Horizontal">
                    <TextBlock VerticalAlignment="Center" FontSize="14" FontWeight="Bold" Text="{Binding Number}" Margin="5,0,8,0"/>
                    <TextBlock TextWrapping="Wrap" VerticalAlignment="Center" FontWeight="bold" FontSize="12"  Text="{Binding Description}" />
                </StackPanel>
            </Border>
        </DataTemplate>
    </UserControl.Resources>
    <Grid Background="White" Height="1122" Width="793">
        <GroupBox Style="{StaticResource PrintableGroupBox}" Header="Naturaleza del Hecho" Height="209" Margin="60,54,0,0" Name="IncidentNatureInfo" VerticalAlignment="Top" HorizontalAlignment="Left" Width="678">
            <Grid Height="208" Width="678">
                <Grid Height="53" HorizontalAlignment="Left" Margin="11,6,0,0" Name="ViolenceCause" VerticalAlignment="Top" Width="600">
                    <Label Content="Motivo de la violencia:" Height="17" HorizontalAlignment="Left" Margin="9,6,0,0" Name="label1" VerticalAlignment="Top" />
                    <CheckBox Content="Económicos" Height="16" HorizontalAlignment="Left" IsHitTestVisible="False" Margin="10,29,0,0" Name="chkEconomics" VerticalAlignment="Top" />
                    <CheckBox Content="Familiares" Height="16" HorizontalAlignment="Left" IsHitTestVisible="False" Margin="106,29,0,0" Name="chkFamiliar" VerticalAlignment="Top" />
                    <CheckBox Content="Celos" Height="16" HorizontalAlignment="Left" IsHitTestVisible="False" Margin="189,29,0,0" Name="chkJealous" VerticalAlignment="Top" />
                    <CheckBox Content="Infidelidad" Height="16" HorizontalAlignment="Left" IsHitTestVisible="False" Margin="249,29,0,0" Name="chkInfidelity" VerticalAlignment="Top" />
                    <CheckBox Content="Otros" Height="16" HorizontalAlignment="Left" IsHitTestVisible="False" Margin="335,29,0,0" Name="chkOthersNature" VerticalAlignment="Top" />
                    <CheckBox Content="Habitos de control y dominio" Height="16" HorizontalAlignment="Left" IsHitTestVisible="False" Margin="395,29,0,0" Name="chkDomainHabits" VerticalAlignment="Top" />
                </Grid>
                <Label Content="Lugar del hecho:" Height="23" HorizontalAlignment="Left" Margin="20,84,0,0" Name="label2" VerticalAlignment="Top" />
                <Label Content="Zona del hecho:" Height="23" HorizontalAlignment="Left" Margin="20,117,0,0" Name="label3" VerticalAlignment="Top" />
                <Label Content="Fecha del Hecho:" Height="23" HorizontalAlignment="Left" Margin="360,84,0,0" Name="label32" VerticalAlignment="Top" />
                <Label FontWeight="Bold" Height="23" HorizontalAlignment="Left" Margin="455,84,0,0" Name="dateIncident" VerticalAlignment="Top" Width="115" />
                <Label Content="" FontWeight="Bold" Height="23" HorizontalAlignment="Left" Margin="112,84,0,0" Name="lblIncidentPlace" VerticalAlignment="Top" Width="152" />
                <Label Content="" FontWeight="Bold" Height="23" HorizontalAlignment="Left" Margin="108,117,0,0" Name="lblIncidentZone" VerticalAlignment="Top" Width="156" />
            </Grid>
        </GroupBox>
        <GroupBox Style="{StaticResource PrintableGroupBox}" Header="Formas de Violencia" Height="94" Margin="60,283,0,0" Name="ViolenceFormInfo" VerticalAlignment="Top" HorizontalAlignment="Left" Width="678">
            <Grid Name="ViolenceForm" Height="90" Width="677">
                <CheckBox Content="Físicas" Height="16" HorizontalAlignment="Left" IsHitTestVisible="False" Margin="20,13,0,0" Name="chkPhysics" VerticalAlignment="Top" />
                <CheckBox Content="Psicológicas" Height="16" HorizontalAlignment="Left" IsHitTestVisible="False" Margin="93,13,0,0" Name="chkPsicologics" VerticalAlignment="Top" />
                <CheckBox Content="Sexuales" Height="16" HorizontalAlignment="Left" IsHitTestVisible="False" Margin="196,13,0,0" Name="chkSexual" VerticalAlignment="Top" />
                <CheckBox Content="Otros" Height="16" HorizontalAlignment="Left" IsHitTestVisible="False" Margin="282,13,0,0" Name="chkOthersViolenceForm" VerticalAlignment="Top" />
                <Label Content="Descripción:" Height="23" HorizontalAlignment="Left" Margin="346,13,0,0" Name="label22" VerticalAlignment="Top" />
                <Label FontWeight="Bold" Height="23" HorizontalAlignment="Left" Margin="418,13,0,0" Name="tbDescription" VerticalAlignment="Top" Width="232" />
                <Label Content="" Foreground="Red" Height="23" HorizontalAlignment="Left" Margin="11,0,0,0" Name="lblViolenceFormError" VerticalAlignment="Top" />
            </Grid>
        </GroupBox>
        <GroupBox Style="{StaticResource PrintableGroupBox}" Header="Estado de los Casos" Height="141" HorizontalAlignment="Left" Margin="60,401,0,0" Name="CasesStatusInfo" VerticalAlignment="Top" Width="678">
            <Grid Height="138" Width="678">
                <Label Content="Atención de casos:" Height="23" HorizontalAlignment="Left" Margin="20,12,0,0" Name="label29" VerticalAlignment="Top" />
                <CheckBox Content="Citación" Height="16" HorizontalAlignment="Left" IsHitTestVisible="False" Margin="21,33,0,0" Name="chkMeeting" VerticalAlignment="Top" />
                <CheckBox Content="Arresto" Height="16" HorizontalAlignment="Left" IsHitTestVisible="False" Margin="92,33,0,0" Name="chkArrest" VerticalAlignment="Top" />
                <Label Content="Equipo multidisciplinario:" Height="23" HorizontalAlignment="Left" Margin="360,12,0,0" Name="label30" VerticalAlignment="Top" />
                <CheckBox Content="Médico" Height="16" HorizontalAlignment="Left" IsHitTestVisible="False" Margin="360,33,0,0" Name="chkMedic" VerticalAlignment="Top" />
                <CheckBox Content="Psicológico" Height="16" HorizontalAlignment="Left" IsHitTestVisible="False" Margin="422,33,0,0" Name="chkPsicology" VerticalAlignment="Top" />
                <CheckBox Content="Trabajador social" Height="16" HorizontalAlignment="Left" IsHitTestVisible="False" Margin="500,33,0,0" Name="chkSocialWorker" VerticalAlignment="Top" />
                <CheckBox Content="Asesor legal" Height="16" HorizontalAlignment="Left" IsHitTestVisible="False" Margin="612,33,0,0" Name="chkLegalAsessor" VerticalAlignment="Top" />
                <Label Content="Derivado a:" Height="23" HorizontalAlignment="Left" Margin="16,62,0,0" Name="label31" VerticalAlignment="Top" />
                <CheckBox Content="Juez inst. flia." Height="16" HorizontalAlignment="Left" IsHitTestVisible="False" Margin="88,62,0,0" Name="chkDerivJudge" VerticalAlignment="Top" />
                <CheckBox Content="Ministerio público" Height="16" HorizontalAlignment="Left" IsHitTestVisible="False" Margin="184,62,0,0" Name="chkDerivPublicMinistery" VerticalAlignment="Top" />
                <CheckBox Content="FELCC" Height="16" HorizontalAlignment="Left" IsHitTestVisible="False" Margin="307,62,0,0" Name="chkDerivFELCC" VerticalAlignment="Top" />
                <CheckBox Content="Defensorias" Height="16" HorizontalAlignment="Left" IsHitTestVisible="False" Margin="370,62,0,0" Name="chkDerivDefensory" VerticalAlignment="Top" />
                <CheckBox Content="Otros" Height="16" HorizontalAlignment="Left" IsHitTestVisible="False" Margin="464,62,0,0" Name="chkDerivOther" VerticalAlignment="Top" />
                <Label Content="" Foreground="Red" Height="19" HorizontalAlignment="Left" Margin="16,9,0,0" Name="lblCasesAtentionError" VerticalAlignment="Top" />
            </Grid>
        </GroupBox>
        <my:MaskTextBox AcceptsReturn="True" DataType="RegEx" Height="141" HorizontalAlignment="Left" IsUndoEnabled="True" Margin="60,587,0,0" MaxLength="700" Name="tbIncidentDetail" RegEx="^[A-Za-z0-9'.,#°?¿()áéíóúAÉÍÓÚÑñ\s]+$" TextWrapping="Wrap" VerticalAlignment="Top" VerticalScrollBarVisibility="Auto" Width="678" />
        <Label Content="Detalle del Hecho:" FontSize="20" FontWeight="Normal" Height="25" HorizontalAlignment="Left" Margin="60,561,0,0" Name="label4" VerticalAlignment="Top" />
        <GroupBox Style="{StaticResource PrintableGroupBox}" Header="Evidencias" Height="321" HorizontalAlignment="Left" Margin="60,752,0,0" Name="groupBox1" VerticalAlignment="Top" Width="678">
            <Grid Height="318" Width="677">
                <Label Content="Evidencias recojidas en el lugar de los hechos o recibidas:" Height="24" HorizontalAlignment="Left" Margin="30,22,0,0" Name="label5" VerticalAlignment="Top" />
                <ListBox Height="196" HorizontalAlignment="Left" ItemTemplate="{StaticResource EvidenceItemsTemplate}" ItemsSource="{Binding}" Margin="20,42,0,0" ScrollViewer.HorizontalScrollBarVisibility="Hidden" Name="listBoxEvidences" VerticalAlignment="Top" Width="630" />
            </Grid>
        </GroupBox>
    </Grid>
</UserControl>
